package com.rj.ability.leqi.adapter.domain.aisino;

import lombok.Data;

/**
 * .数电票上传
 *
 * @author YFX_RANLUBO
 * @date 2024/04/30 15:42
 **/
@Data
public class AisinoQdfpscjgRes {
    /**
     * 发票号码	20	是
     */
    private String invoiceNo;
    /**
     * 开票日期	14	是	YYYYMMDDHHMMSS
     */
    private String issueDate;
    /**
     * 纳税人识别号	20	是
     */
    private String taxpayerID;

    /**
     * 2上传失败
     * 1、0 上传成功
     */

    private String uploadStatus;
    /**
     * 本地上传结果
     */
    private UploadInfo uploadInfo;
    /**
     * 局端上传结果
     */
    private UploadInfo uploadResultInfo;

    public void addUploadInfo(String statusCode, String message) {
        uploadInfo = new UploadInfo();
        uploadInfo.setStatusCode(statusCode);
        uploadInfo.setMessage(message);
    }

    public void adduploadResultInfo(String statusCode, String message) {
        uploadResultInfo = new UploadInfo();
        uploadResultInfo.setStatusCode(statusCode);
        uploadResultInfo.setMessage(message);
    }


}
